<div class="form-group">
    <label class="col-sm-2 control-label no-padding-right"> 头部内容代码</label>
    <div class="col-sm-10">
        &modulel;textarea id="contentheadhtml" name="parameter[textpara_contentheadhtml]" style="width:60%;    resize: both;" rows="20"&moduleg;{$parameter[contentheadhtml]}&modulel;/textarea&moduleg;
  </div>
</div> 
<div class="form-group">
    <label class="col-sm-2 control-label no-padding-right"> 底部内容代码</label>
    <div class="col-sm-10">
        &modulel;textarea id="contentfoothtml" name="parameter[textpara_contentfoothtml]" style="width:60%;    resize: both;" rows="20"&moduleg;{$parameter[contentfoothtml]}&modulel;/textarea&moduleg;
  </div>
</div> 
<div class="form-group">
    <label class="col-sm-2 control-label no-padding-right"> wap头部内容代码</label>
    <div class="col-sm-10">
        &modulel;textarea id="contentmobileheadhtml" name="parameter[textpara_contentmobileheadhtml]" style="width:60%;    resize: both;" rows="20"&moduleg;{$parameter[contentmobileheadhtml]}&modulel;/textarea&moduleg;
  </div>
</div> 
<div class="form-group">
    <label class="col-sm-2 control-label no-padding-right"> wap底部内容代码</label>
    <div class="col-sm-10">
        &modulel;textarea id="contentmobilefoothtml" name="parameter[textpara_contentmobilefoothtml]" style="width:60%;    resize: both;" rows="20"&moduleg;{$parameter[contentmobilefoothtml]}&modulel;/textarea&moduleg;
  </div>
</div> 






<div class="form-group">
  <label class="col-sm-2 control-label no-padding-right"> 显示类型 </label>
  <div class="col-sm-10">
<script>
if('{$parameter_default[sparefield1]}' == 1){
	document.write('<label style="margin:0; font-weight:normal;" name="hdtype1"><input id="hdtype1" name="parameter_default[field1]" type="radio" value="0" />所有商品</label> <label style="margin:0; font-weight:normal;" name="hdtype2"><input id="hdtype2" name="parameter_default[field1]" type="radio" value="1" checked="checked" />指定商品</label>');
}else{
	document.write('<label style="margin:0; font-weight:normal;" name="hdtype1"><input id="hdtype1" name="parameter_default[field1]" type="radio" value="0" checked="checked" />所有商品 <label style="margin:0; font-weight:normal;" name="hdtype2"><input id="hdtype2" name="parameter_default[field1]" type="radio" value="1" />指定商品</label>');
}
</script>
  </div>
</div>


<tr>
    <th>操作状态</th>
    <td>
    <script>
var orderstatus = "{$parameter_default[field1]}";
if(orderstatus == 2){
	document.write('<input name="parameter_default[field1]" type="radio" value="1" />取消发货 <input name="parameter_default[field1]" type="radio" value="2" checked="checked" />暂不操作');
}else if(orderstatus == 1){
	document.write('<input name="parameter_default[field1]" type="radio" value="2" />确认发货 <input name="parameter_default[field1]" type="radio" value="1" checked="checked" />暂不发货 <input name="parameter_default[field1]" type="radio" value="0" />取消付款');		
}else{
	document.write('<input name="parameter_default[field1]" type="radio" value="1" />确认付款 <input name="parameter_default[field1]" type="radio" value="0" checked="checked" />暂不付款');
}
</script>  
    </td>
</tr>



<div class="form-group">
    <label class="col-sm-2 control-label no-padding-right">商标类型</label>
    <div class="col-sm-10">

        <select onChange="$('#sbtype').val(this.value)">
        	<option value="0">请选择</option>
            <option value="1">纯中文    </option>
            <option value="2">纯英文（拼音）</option>
            <option value="3">纯图形</option>
            <option value="4">纯数字</option>
            <option value="5">中文+英文（拼音）</option>
            <option value="6">中文+英文（拼音）+图形</option>
            <option value="7">英文（拼音）+图形</option>
        </select>
    	选中值：<input type="text" id="sbtype" value="{$parameter_default[sbtype]}" />
    </div>
</div>







<div class="form-group">
    <label class="col-sm-2 control-label no-padding-right"> 注册号</label>
    <div class="col-sm-10">

        <input class="col-xs-10 col-sm-5" type="text" name="parameter_default[zhucehao]" value="{$parameter_default[zhucehao]}" onblur="checkzhucehao(this)">
        <font color="red" id="tipzhucehao"></font>
    </div>
</div>
<script>
function checkzhucehao(obj)
{
	var zhucehao = obj.value;
	var cat_id = "{$get[cat_id]}";
	$.post("/plugins/modulepara/config/moduleajax.php",{ajaxid:cat_id,ajaxname:"configmodule",tablename:"zcj_news",bigclassname:"pacid",where:"status=1 and zhucehao='"+zhucehao+"'",order:"",dataidname:"aid"},function(data){
	var data=eval(data);
		if(data.length > 0)
		{
			$("#tipzhucehao").html("注册号已存入，不可重复添加！");
		}else{
			$("#tipzhucehao").html("注册号可以使用！");	
		}
	});
}
</script>

<tr>
    <th>操作状态</th>
    <td>
    {if $parameter_default[field1] == "2"}
        <a href="/portal/admin_ajax/index.html?ajaxid=($dataid)&ajaxname=orderstatus&status=1&opname=取消发货" class="btn btn-primary js-ajax-dialog-btn" data-msg="您确定要取消发货吗？" data-ok="" data-cacel="取消">取消发货</a>
    {elseif $parameter_default[field1] == "1"}
    	<a href="/portal/admin_ajax/index.html?ajaxid=($dataid)&ajaxname=orderstatus&status=2&opname=确认发货" class="btn btn-danger js-ajax-dialog-btn" data-msg="您确定要发货吗？" data-ok="" data-cacel="取消">确认发货</a>
        <a href="/portal/admin_ajax/index.html?ajaxid=($dataid)&ajaxname=orderstatus&status=0&opname=取消付款" class="btn btn-primary js-ajax-dialog-btn" data-msg="您确定要取消付款吗？" data-ok="" data-cacel="取消">取消付款</a>
    {else}
    	<a href="/portal/admin_ajax/index.html?ajaxid=($dataid)&ajaxname=orderstatus&status=1&opname=确认付款" class="btn btn-danger js-ajax-dialog-btn" data-msg="您确定要付款吗？" data-ok="" data-cacel="取消">确认付款</a>
    {/if}
    </td>
</tr>